<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>工作平台</title>
<style type="text/css">
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background:#185991;
	font-size:12px;
}

</style>
<script type='text/javascript'> 
    function submitForm(frm,event){ 
      var event=window.event?window.event:event; if(event.keyCode==13){ 
        frm.submit(); 
      } 
    }  
</script> 
</head>
<body>

<table width="977" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td background="<%=request.getContextPath()%>/myproject/resource/jsp/system/images/top.png" height="40">&nbsp;</td>
  </tr>
</table>
<table width="977" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td  background="<%=request.getContextPath()%>/myproject/resource/jsp/system/images/login_145.png" height="253">&nbsp;</td>
  </tr>
</table>
<table width="977" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="192" align="center" valign="middle"  background="<%=request.getContextPath()%>/myproject/resource/jsp/system/images/login_22.png"><table width="486" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="151" height="192" align="left" valign="top"></td>
        <td width="335" height="192" align="left" valign="middle"><form  METHOD="POST" ACTION="<%=request.getContextPath()%>/rest/login/in">
	<table width="300" border="0" cellpadding="0" cellspacing="0" align="center">
		<tr>
			<td height="28" colspan="3" align="center">账号：<input name="loginId" type="text" size="18" style="width:140px;" > </td>
		</tr>
		<tr>
			<td height="28" colspan="3" align="center" >密码：<input name="password" type="password" value="" size="18" style="width:140px; " onkeydown='submitForm(this.form,event)'></td>
		</tr>
	
		<tr>
			<td height="28" colspan="3" align="center">&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" value="登录" onclick="submit()">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input  type="reset" value="重置" ></td>
		</tr>
		<tr><td align="center"><font color="red">${message}</font></td></tr>
	</table>
	</form></td>
      </tr>
    </table></td>
  </tr>
</table>

<table width="977" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td  background="<%=request.getContextPath()%>/myproject/resource/jsp/system/images/login_3.png" height="283">&nbsp;</td>
  </tr>
</table>

</body>
<script language="javascript">
//按钮相应回车键
	function sub()   
	{   
		if(event.keyCode == 13)   
		{   
		var Button1=document.getElementById("Button1");
		Button1.focus();  
		
		}   
	}   
</script>
</html>
